/*
 * @Author: xuetao 3168581151@qq.com
 * @Date: 2025-02-15
 * @LastEditors: xuetao 3168581151@qq.com
 * @LastEditTime: 2025-03-16
 * @Description: 
 */
import 'package:chat_client/repositories/group_repository.dart';
import 'package:chat_client/repositories/hive_repository.dart';
import 'package:chat_client/repositories/conversation_repository.dart';

import 'contact_repository.dart';
import 'auth_repository.dart';

Future<void> initRepositories() async {
  // 初始化 HiveService 工具类
  await HiveService.initHive();
  await AuthRepository.instance.init();
  await ContactRepository.instance.init();
  await ConversationRepository.instance.init();
  await GroupRepository.instance.init();
}
